package com.test.Main;

import java.util.Calendar;

/**
 * Created by wangyg 
 * on 2017/3/10 9:45
 */
public class LongMaxValue {
	public static void main(String[] args) {
		Calendar calendar = Calendar.getInstance();
		calendar.setTimeInMillis(Long.MAX_VALUE);
		System.out.println(calendar.getTime());
		System.out.println(Long.MAX_VALUE);
		System.out.println(System.currentTimeMillis());
		System.out.println(calendar.toString());
	}

}
